/*
 * @brief: 
 * @Author: TzzzT
 * @Date: 2022-03-06 01:09:00
 * @LastEditTime: 2022-06-08 01:14:57
 * @LastEditors: TzzzT
 */
#pragma once

#include "esp_log.h"

#define OK 1
#define FAIL 0

enum {
    TEAM_ROOM = 0,
    DAMAGE,
    PLAYER_ID_1,
    PLAYER_ID_2,
    PLAYER_ID_3,
    CRC16_VAL_1,
    CRC16_VAL_2,
    BULLET_DATA_LEN = 7
};

/////////////////RX/////////////////

void rcs_rmt_rx_init(void);

void rcs_ir_rx_task(void *arg);
